package com.tjetc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Vaccine implements Serializable {
    @Serial
    private static final long serialVersionUID = -4455170088682172693L;
    private Integer id;

    private String name;

    private Integer quantity;

    private Integer fazhi;

    @Override
    public String toString() {
        return "Vaccine{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", quantity=" + quantity +
                '}';

    }
}